package com.dgut.pojo;

public class myException extends Exception {
    private String message;

    public myException(String message){
        this.message = message;
    }
    @Override
    public String toString() {
        return "错误信息{" +
                "message='" + message + '\'' +
                '}';
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
